package com.monlyu.model;

/*******************************************************************************
 * 
 * <b>功能描述☞</b>稿件模型<br>
 * 
 * <b>开发公司☞</b>重庆唯尼科技有限公司<br>
 * <b>版权☞</b>本文件归重庆唯尼科技有限公司所有<br>
 * <b>项目名☞</b>news<br>
 * <b>文件路径☞</b>com.monlyu.model.ManuscriptModel.java<br>
 * <b>开发日期☞</b>2010-2-24 <br>
 * 
 * @author chendan
 * @since JDK 5
 * @version 1.0.8
 * 
 ******************************************************************************/
public class ManuscriptModel {
	private Long id;
	// 审核状态（包括是否提交审核）：0,未提交（不能审核）、1、待一审（一审中）、2、待二审、3、待三审")
	private String auditZt;
	// 标题
	private String title;
	// 播出时长
	private Long timeLong;
	// 记者
	private String userName;
	// 稿件使用次数
	private Integer times;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAuditZt() {
		return auditZt;
	}

	public void setAuditZt(int auditZt) {
		switch (auditZt) {
		case 0:
			this.auditZt = "草稿";
			break;
		case 1:
			this.auditZt = "一审中";
			break;
		case 2:
			this.auditZt = "二审中";
			break;
		case 3:
			this.auditZt = "审核完毕";
			break;
		case -100:
			this.auditZt = "毙稿";
			break;
		default:
			this.auditZt = "待定";
			break;
		}
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getTimeLong() {
		return timeLong;
	}

	public void setTimeLong(Long timeLong) {
		this.timeLong = timeLong;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public void setAuditZt(String auditZt) {
		this.auditZt = auditZt;
	}
}
